﻿using Rechargeable.Machines.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using Rechargeable;

namespace Rechargeable.Machines
{
    public interface ISerialNumberAppService : ICrudAppService<SerialNumberDto, Guid, PageAndSortedResultRequestSerialNumberDto, CreateSerialNumberDto, CreateSerialNumberDto>
    {
        /// <summary>
        /// 充值
        /// </summary>
        /// <param name="inputDto"></param>
        /// <returns></returns>
        Task PostRechargesAsync(CreateSerialNumbersDto inputDto);

        Task<int> GetNotUseCount(PageAndSortedResultRequestSerialNumberDto inputDto);
    }
}
